package main

import "fmt"

func main() {
	data := "abc"
	inter := make([]interface{}, 1)
	inter[0] = data
	switch value := inter[0].(type) {
	case string:
		fmt.Println("string", value)
	}
}
